addition and subtraction of algebraic fractions